package com.grf.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.grf.pojo.User;
import com.grf.service.UserService;
import org.springframework.stereotype.Component;

@Service
@Component
public class UserServiceImpl implements UserService {

    @Override
    public User getUser() {
        User user = new User();
        user.setId(1);
        user.setUserName("test");
        return user;
    }

}
